﻿using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace HCMS.Repositories
{
    /// <summary>
    /// 仓储层 基础
    /// </summary>
    public class CommonRepository<TDbContext, TEntity, TPrimaryKey> : EfCoreRepository<TDbContext, TEntity, TPrimaryKey>
        where TDbContext : AbpDbContext<TDbContext>
        where TEntity : class, IEntity<TPrimaryKey>
    {

        public CommonRepository(IDbContextProvider<TDbContext> dbContextProvider)
            :base(dbContextProvider)
        {
        }
    }
}
